<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>

<script type="text/javascript">
	
let str = "1234"

for ( let codePoint of str) {
	console.error(codePoint);
}

</script>

</body>
</html>